import request from '@/utils/request'

// 协议管理列表
export function apiAgreementLists(params: any) {
    return request.get({ url: '/agreement/lists', params })
}

// 添加协议管理
export function apiAgreementAdd(params: any) {
    return request.post({ url: '/agreement/add', params })
}

// 编辑协议管理
export function apiAgreementEdit(params: any) {
    return request.post({ url: '/agreement/edit', params })
}

// 删除协议管理
export function apiAgreementDelete(params: any) {
    return request.post({ url: '/agreement/delete', params })
}

// 协议管理详情
export function apiAgreementDetail(params: any) {
    return request.get({ url: '/agreement/detail', params })
}